Skip to content

V1.0.6/service update - #12

Merged
gimlichael merged 7 commits into
mainfrom
v1.0.6/service-update
Jul 24, 2026
Merged

V1.0.6/service update#12
gimlichael merged 7 commits into
mainfrom
v1.0.6/service-update

Conversation

@codebelt-aicia

Copy link
Copy Markdown
Contributor

This is a service update that focuses on package dependencies.

Automated changes:

  • Codebelt/Cuemon package versions bumped to latest compatible
  • PackageReleaseNotes.txt updated for v1.0.6
  • CHANGELOG.md entry added for v1.0.6

Note: Third-party packages (Microsoft.Extensions.*, BenchmarkDotNet, etc.) are not auto-updated.
Use Dependabot or manual updates for those.

Generated by codebelt-aicia
Triggered by: yamldotnet @ 10.1.6

@greptile-apps

greptile-apps Bot commented Jul 22, 2026

Copy link
Copy Markdown

Greptile Summary

This is an automated service-update PR (v1.0.6) that bumps Codebelt/Cuemon dependency versions, extends the NuGet version-bumping script to also fetch the latest stable releases for non-triggered Codebelt packages via the NuGet API, fixes an incorrect MSBuild property name (AnalysisLevelAnalysisMode), and modernizes XmlResponseNegotiator to file-scoped namespace syntax.

  • Package bumps (Directory.Packages.props): Codebelt.Extensions.AspNetCore., Cuemon., Codebelt.Extensions.Xunit.App, and Microsoft.NET.Test.Sdk all receive patch/minor version increments.
  • bump-nuget.py enhancement: now queries the NuGet flat-container API for any Codebelt-related package not owned by the triggering source repo, with a module-level cache to avoid redundant HTTP calls and broad exception handling that degrades gracefully.
  • XmlResponseNegotiator.cs: migrated to file-scoped namespace; the class declaration has a leftover 4-space indent inconsistent with the surrounding doc-comment lines.

Confidence Score: 5/5

Safe to merge — all changes are package version bumps, a property-name fix, a doc-site image relaxation, and minor script/formatting improvements with no runtime logic alterations.

The dependency bumps are incremental patch/minor updates to well-known packages. The script change adds NuGet API lookups that fail gracefully with a warning and leave versions unchanged on error. The AnalysisMode property fix corrects a previously inert misconfiguration. The only cosmetic imperfection is the extra leading whitespace on the class declaration in XmlResponseNegotiator.cs, which does not affect compilation or behaviour.

The XmlResponseNegotiator.cs file has a minor leftover indentation artifact from the namespace-style migration, but it requires no blocking action.

Important Files Changed

Filename Overview
src/Codebelt.Extensions.Carter.AspNetCore.Xml/XmlResponseNegotiator.cs Converted to file-scoped namespace syntax; class declaration retains 4-space leading indent inconsistent with the surrounding doc-comment lines at column 0
.github/scripts/bump-nuget.py Extended to fetch latest stable NuGet versions for non-triggered Codebelt packages; adds HTTP lookups with caching and broad exception handling; file is written before result output is printed
Directory.Packages.props Version bumps for Codebelt.Extensions, Cuemon, Codebelt.Extensions.Xunit.App, and Microsoft.NET.Test.Sdk packages; all incremental patch/minor updates
Directory.Build.props Fixed incorrect MSBuild property name from AnalysisLevel to AnalysisMode
CHANGELOG.md Added v1.0.6 entry; [Unreleased] link replaced with versioned 1.0.6 link without adding a new [Unreleased] entry at the top
.docfx/Dockerfile.docfx NGINX base image relaxed from 1.31.2-alpine to 1.31-alpine for more flexible patch-level tracking

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[bump-nuget.py triggered\nTRIGGER_SOURCE + TRIGGER_VERSION] --> B[Read Directory.Packages.props]
    B --> C{For each PackageVersion}
    C --> D{is_triggered_package?}
    D -- Yes --> E[Set version to\nTRIGGER_VERSION]
    D -- No --> F{is_codebelt_package?}
    F -- Yes --> G[get_latest_nuget_version\nvia NuGet API]
    G --> H{version in cache?}
    H -- Yes --> I[Return cached version]
    H -- No --> J[HTTP GET\napi.nuget.org/v3-flatcontainer]
    J --> K[Filter stable versions\nno hyphen]
    K --> L[Cache + return latest]
    I --> M[Apply if newer]
    L --> M
    F -- No --> N[Skip — third-party package]
    E --> O[Write updated file]
    M --> O
    N --> O
    O --> P[Print changes summary]
Loading

Reviews (2): Last reviewed commit: "🔧 update changelog for version 1.0.6 wi..." | Re-trigger Greptile

aicia-bot and others added 6 commits July 24, 2026 13:59
Update NGINX base image from 1.31.2-alpine to 1.31-alpine. This relaxes the patch version constraint to allow more flexibility in the specific NGINX release used while maintaining the minor version.
Refactored the NuGet package bumping script to support intelligent version management. Triggered packages are set to the specified version, while other Codebelt-related packages are fetched from NuGet to their latest stable versions. Added support for additional package mappings, NuGet API lookups with caching, improved encoding handling, and enhanced output messaging.
Update central package version manifest with latest stable releases: Codebelt.Extensions.AspNetCore.Newtonsoft.Json 10.1.6, Codebelt.Extensions.Xunit.App 11.1.2, Cuemon packages 10.5.5, and Microsoft.NET.Test.Sdk 18.8.1. Also normalize line endings to LF format.
Change AnalysisLevel property to AnalysisMode in Directory.Build.props. This property name is the correct MSBuild property for controlling the analysis mode during builds.
Convert XmlResponseNegotiator from traditional namespace declaration with nested class indentation to modern file-scoped namespace syntax. Adjust class and member indentation to align with codebase style conventions.
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5e1ec41) to head (b75f992).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines           83        83           
  Branches         5         5           
=========================================
  Hits            83        83           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gimlichael
gimlichael merged commit 68a06a0 into main Jul 24, 2026
24 checks passed
@gimlichael
gimlichael deleted the v1.0.6/service-update branch July 24, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants